package org.book.bean;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NonNull;

/**
 * <p>
 * 
 * </p>
 *
 * @author dancun
 * @since 2021-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Book implements Serializable {
    public void Book(){

    }

    private static final long serialVersionUID = 1L;


    @TableId(value = "isbn")
    private String isbn;

    @TableField("`name`")
    private String name;

    private String type;

    private String info;

    private String author;

    private Float price;

    private String caver;

    private Integer inventory;

    private Integer lentnum;

    private Integer borrowing;


}
